package com.springboot.returndata.vo.blog;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * <p>
 * 博客分类
 * </p>
 * 自定义属性注入abc=
 *
 * @author zyj
 * @since 2023-03-23
 */
@Data
@Schema(description = "文章")
public class BlogArticleVo implements Serializable {

    private Integer id;


    @Schema(description= "文章标题", example = "文章标题")
    private String articleTitle;

    private String articleEye;

    private String articleSort;

    private String articleTag;

    private String articleTagId;

    private String articleImg;

    private String articleImgDesc;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
     * 文章是否启用 0：不启用 1：启用
     */
    private String articleStatus;

}
